Email and password validation are working