set params of user model
added validations