user emails are downcased when logging in