added a loading gif to the page for when api calls are loading