           <h1>Welcome</h1>
         </div>
         Hello {if @state.user then @state.user.username else "World"}!
+        {@_renderThreadNames()}
       </div>
     )
 


  componentWillUnmount: ->
    @unsubscribeFromUserSessionStore()
    @unsubscribeFromMessageStore()

  render: ->
    return (

  _onMessageStoreUpdate: (messageId) ->
    console.log messageStore.getMessage(messageId)

  _onThreadStoreUpdate: (threadIds) ->
    if 'threadNames' not of @state
      threadNames = threadStore.getThreadNames()
      @setState {threadNames}

  componentDidMount: ->
    @unsubscribeFromUserSessionStore = userSessionStore.listen(@_onUserSessionUpdate)
