updated front end, added edit pages