added controller for processing static pages