implement paperclip and image uploading