progressbar for downloading, added session delegate