removing renderPage, replacing it by Page.Render