added static pages controller
refactor static pages