fix the secrets base
added static pages controller
finish static pages