     super
     @readyState = false
     @localStore = {}
+    @token = ""
     @getKiteAddr()
 
   createWebSocket: (url) ->

         console.log "Addr to be connected is #{data[0].addr}"
         console.log "Token to use is #{data[0].token}"

         @websocket = @createWebSocket(data[0].addr)
         @registerEvents()


      name      : "#{KD.whoami().profile.nickname}"
      method    : "#{@kiteName}.#{methodName}"
      params    : rest
      token     : @token #get via kontrol, needed for authentication
      id        : id

    # store callback at localstore
    @localStore[id] = callback
    # send query over websocket
