added paperclip for attaching images to posts.