changes to searches_controller.rb