add a static pages controller with 2 methods