pass in the user model