Create an event handler for sending delete request

this commit gets us closer with #47 but does not complete it. There is a console.log as a placeholder in the spot where we can send a json request to the backend to trigger a delete.