cleaning code in users_controller