added user model validation and password field to db table