Implemented card delete functionality