initialise the page