added image upload with paperclip, set user avatar