user model created for chapter 6