add test life circle for UserController