added pages to controller