Modified the pages controller & associated views