Finished client and server validation for login email and password.