add/edit pages and mechanism reworked
validation performed