Fixed application_controller.rb