Modified to support domain displays in federated auth