fix login email/password check