Update app/controllers/login_controller.rb

add disabled login case