cleaning up uneeded methods in pages controller