avatar uploading and saving. but frontend does not work properly
merge