updated user model and set pswd rules