Added the page controller