edited static pages controller