add a static_pages controller
added dynamic layout and titles