added delete functionality for card