request type check added in enroll/unenroll