added a gif animation for the loading indicator