add paperclip and index and show pages