Make the email login work