implements feature for deleting profiles