             @request @root,
                 error: error
                 success: (r) =>
-                    if r.status != 'ok'
+                    if r.root.status != 'ok'
                         error? 'response_error', 'Unexpected response from server'
                         return
                     @uris =
                         root: @root
-                        authentication: r.authentication.uri
-                        genome: r.genome.uri
-                        annotations: r.annotation_collection.uri
-                        coverages: r.coverage_collection.uri
-                        data_sources: r.data_source_collection.uri
-                        samples: r.sample_collection.uri
-                        tokens: r.token_collection.uri
-                        users: r.user_collection.uri
-                        variants: r.variant_collection.uri
-                        variations: r.variation_collection.uri
+                        authentication: r.root.authentication.uri
+                        genome: r.root.genome.uri
+                        annotations: r.root.annotation_collection.uri
+                        coverages: r.root.coverage_collection.uri
+                        data_sources: r.root.data_source_collection.uri
+                        samples: r.root.sample_collection.uri
+                        tokens: r.root.token_collection.uri
+                        users: r.root.user_collection.uri
+                        variants: r.root.variant_collection.uri
+                        variations: r.root.variation_collection.uri
                     success?()
 
         annotation: (uri, options={}) =>

            uri = @uris.tokens
            if options.filter == 'own'
                uri += "?user=#{ encodeURIComponent @current_user?.uri }"
            @collection uri, options

        create_token: (options={}) =>
            success = options.success

            @request uri, options

        users: (options={}) =>
            @collection @uris.users, 'user', options

        create_user: (options={}) =>
            success = options.success
