setting up the page properly