UserController code review