           params =
             id: author
             index: position
-            text: author(authorId)
-            color: "grey"
+            text: author(authorId).name
+            color: info(authorId).color
           @editor.setCursor params
         else
           @editor.removeCursor event.name


    @_model.getContent("cursors").val(@_model.HB.getUserId(), @selfCursor)

  setAuthor : (@author) ->
    @_model.getContent('authors').val(@_model.HB.getUserId(), @author)

  # pass deltas to the character instance

        if event.type is "update" or event.type is "add"
          authorId = event.changedBy
          ref_to_char = event.object.val(authorId)
          info = (authorId) =>
            mod = @_model.getContent('authors').val()
            return {
              name: mod[authorId].name or "Default user"
              color: mod[authorId].color or "grey"
            }

          if ref_to_char is null
            position = @editor.getLength()
