         }
     }
     var firstSelectedLocker:Locker? { return self.selectedLockers?.first }
-
-
-
-
+        
+        
+
+    
     static open let kSelectedPushOperationsIndexesKey="selectedPushOperationsIndexesKey"
     static open let PUSHOPERATIONS_SELECTED_INDEXES_CHANGED_NOTIFICATION="PUSHOPERATIONS_SELECTED_INDEXES_CHANGED_NOTIFICATION"
     dynamic open var selectedPushOperations:[PushOperation]?{
         didSet{
             if let pushOperations = selectedPushOperations {
-                let indexes:[Int]=pushOperations.map({ (pushOperation) -> Int in
+                 let indexes:[Int]=pushOperations.map({ (pushOperation) -> Int in
                     return self.pushOperations.index(where:{ return $0.UID == pushOperation.UID })!
                 })
                 self.registryMetadata.stateDictionary[BartlebyDocument.kSelectedPushOperationsIndexesKey]=indexes

                                            collectionData = try Bartleby.cryptoDelegate.decryptData(collectionData)
                                        }
                                    }
                                    let _ = try proxy.updateData(collectionData,provisionChanges: false)
                                }
                            } else {
                                throw RegistryError.attemptToLoadAnNonSupportedCollection(collectionName:metadatum.d_collectionName)


    #endif

    
   
    // MARK : new User facility 
    
    /**
    * Creates a new user
    * 
    * you should override this method to customize default (name, email, ...)
    * and call before returning :
    *   if(user.creatorUID != user.UID){
    *       // We don't want to add the current user to user list
    *       self.users.add(user, commit:true)
    *   }
    */
    open func newUser() -> User {
        let user=User()
        user.silentGroupedChanges {
