         ##
         boot: (done)->
             
-            @_registry = new (floyd.tools.objects.resolve @data.registry.type) @data.registry
+            @_registry = new (floyd.tools.objects.resolve @data.registry.type) @data.registry, @
             
             super done
         

                else
                    sid = token.substr 40				
                    
                    @logger.debug 'session authenticate session %s', sid
    
                    @_load sid, (err, sess)=>
                        return fn(err) if err
                        
                        @logger.debug 'session authenticate hash %s', token.substr 0, 39
                        
                        if token is sess.token
                            

                        delete data.pass
                            
                        fn null, sess.public.user = data
                
                ## authorize anonymous session        
                else
                    fn()
                    
