added loading icon to the page