Updating users. Adding code for some of the exercises of chapter 9