Create a route for edit page