Fixed the login not checking email.