Implemented delete call to send to database