turns the index page into a dashboard