Added IDs for edit pages, more edit front-end code