modify UserController to pass test #32