adding deleting and editing cards