Added upload of profile image and attachment files. see #3 #4