Added the page load pipeline and the ensure page layout handler