corrected Pin.new command in pins controller file