Fix the login query. The user login with email and password.