finish routing, add edit page