email and password validation.