Add a StaticPages controller
add some changes