refactor static pages. Add guard and spork