Update base_controller.rb

need to log shit