Email needs to be https
Refactor check auth to happen in one place