End of Ch6, Updating the user model