validation for user + test