added comments to locations_controller.rb