Updated backend to use DELETE for delete operations.