Fix a bug in UsersController