created page load method