add spinner for table loading