added delete functionality for transactions