made the GET api calls asynchronous and improved avatar downloading