added avatar uploading but not working