added active flag to identities in account