fixed UserController Chapter 2