add spinner on loading data