added a loader to the page