Added upload pin functionality with Paperclip