added controller spec for pages