Fixing user model validation