add navigation progress bar and error alert