fixed the pins views when not logged in
paperclip addition for images