Added check if emailaddres and displayname is the same. If so then the displayname is ignored