removing pageSetUp() from both templates and adding them back into the controller