added loading page while data is rendered