logging in with email and password through firebase