Server side validation for user, email and password.