add spinner to table loading