         ## 
         ##
         lookup: (name, identity, done)->
-                
-            __ident = identity.id
+            
+            if !(__ident = identity.id) || !identity.token
+                console.log '2. parameter is not identity', @ID
+                throw new Error '2. parameter is not identity'
             
             _children = 0
             _parent = !!(@parent && @parent.lookup)

                    @_getAuthManager().authorize config.TOKEN

                    
            return config 
                                
                

        ## base configuration
        ##		
        configure: (config)->
        
            if typeof config is 'string'
                config = new floyd.Config floyd.tools.objects.resolve config

            config.id ?= @__ctxID()
            
            config.type ?= 'floyd.Context'
