protected override void Dispose(bool disposing)
 {
     if (disposing && IdentityStore != null)
     {
         IdentityStore.Dispose();
         IdentityStore = null;
     }
     base.Dispose(disposing);
 }