finish basic functions & UI for static pages