adding loading spinner to project index page