End of chapter 9, finishes user model