diff --git a/xxdk/cmix.go b/xxdk/cmix.go
index d8a05defb71b9f3637f68aaf19258bbbe21e7b96..5e2d919e9e8bce0a3fd97c5b8b8df4552a4d9bb4 100644
--- a/xxdk/cmix.go
+++ b/xxdk/cmix.go
@@ -331,7 +331,6 @@ func LoginWithProtoClient(storageDir string, password []byte,
 		return nil, err
 	}
 
-	c.network.AddIdentity(c.GetUser().ReceptionID, time.Time{}, true)
 	c.storage.SetNDF(def)
 
 	err = c.initPermissioning(def)
@@ -344,6 +343,8 @@ func LoginWithProtoClient(storageDir string, password []byte,
 		return nil, err
 	}
 
+	c.network.AddIdentity(c.GetUser().ReceptionID, time.Time{}, true)
+
 	// FIXME: The callbacks need to be set, so I suppose we would need to
 	//        either set them via a special type or add them
 	//        to the login call?