 
   send: (message) ->
     console.log "Chat Client wants to send message", message
-    @startChat() unless @state == stateEnum.STARTED
+    @startChat() unless @state == stateEnum.ACTIVE
     @sendMessage(message)
 
   startChat: ->

    console.log "Chat Client Chat Start Peding"

  pollMessages: ->
    return if @state == stateEnum.KILLED
    console.log "Chat Client is polling for messages"
    $.get @endpoint, (data) =>
      @state = stateEnum.STARTED
      @dismissWelcome()
      @dequeueMessages()
      @renderMessages data.events

      type: 'DELETE'
    console.log "Chat Terminated"

    @state = stateEnum.TERMINATED
    console.log "Chat Client Chat Terminated"
