Added a loading spinner to the dashboard page.