Add a StaticPages controller
add dynamic features to static pages