added spinning icon to indicate data loading in progress