correct the validator for user