Added routing to editing and deleting