generated UserController in a RESTful way