Upload

updating upload function for user avatar