Update routes.js to use router.delete instead of deprecated router.del