added paperclip for image handling