added ability to delete purchases