Update logs_controller.rb