delete enrollment functionality