added user model validations