finished and tested avatar upload