add progress bar and error sign for connectivity issue