set up main page to use real data