add code to ensure uniqueness of eid and email in AD