Added user model validation