Added <%= pin.user.name if pin.user %> to _Pin.html.erb file to fix Heroku