can now login with login instead of email