added image upload with paperclip and image magic