creating the static pages controller properly