Fixed bug in user model. Chapter 6 complete.