user model chap6