modify the user model to validate the presence and uniqueness of the “name” attribute