updated pins_controller.rb file for bug fixes