fix some bug in userController