created public_pages controller for handling static pages