defined the user model.