Page management code improvement
Better form validation & reseting for static pages