Fixed bug in users_controller