Updated routes.js to include support for DELETE and POST requests -- To delete and create posts