user model validation optimized