Added StaticPages controller
Added a helper method.