https://medium.com/better-programming/authenticating-frontend-apps-using-cookies-in-net-core-web-api-2df311e735bb