initialized avatar uploading