Add controller logic for static pages.