authen teacher in course before removing