implemented paperclip; can now upload images