update UserController & IndexController