add test for UserController