Update controller and routing for static pages