revisions to the router, removing delete method