added show and pages controller