Validating user data.