     @emit "PanelCreated", newPanel
 
   createSessionKey: ->
-    nick = KD.nick()
-    u    = KD.utils
-    return  "#{nick}_#{u.generatePassword(4)}_#{u.getRandomNumber(100)}"
+    u = KD.utils
+    return "#{@nickname}_#{u.generatePassword(4)}_#{u.getRandomNumber(100)}"
 
   getHost: ->
     return @sessionKey.split("_").first
 
   amIHost: ->
     [sessionOwner] = @sessionKey.split "_"
-    return sessionOwner is KD.nick()
+    return sessionOwner is @nickname
 
   showNotActiveView: ->
     notValid = new KDView


    @on "KDObjectWillBeDestroyed", =>
      @forceDisconnect()
      @workspaceRef.off eventName for eventName in ["value", "child_added", "child_removed", "child_changed"]

  fetchUsers: ->
    @workspaceRef.once "value", (snapshot) =>

    }

  setHistory: (message = "") ->
    user    = @nickname
    message = message.replace "$0", user

    @historyRef.child(Date.now()).set { message, user }
