inject UserExtension and use formatUserIdentity with pattern