     </div>
 
   renderLoggedIn:->
-    <p>Hello {@state.user.name} <a href='/users/sign_out'>Logout</a></p>
+    <p>Hello {@state.user.name} <a href='#' onClick={this.signOut} >Logout</a></p>
 
 
   renderLoggedOut:->

    user: null
    loading: false
    error: null

  fetchUser:->
    @setState

        error: "Having trouble logging you in"

  render:->
    <div className='login'>
      {@renderError() if @state.error}

      {@renderLoggedIn() if @state.user}
