Added DB delete functionality