moved client domain inside Profile