 
   handleSignOutClick: ->
     auth.signOut()
+
+    if @getPathname().indexOf("lab") > -1 and @getParams()?
+      @transitionTo "lab" 

Translate = require 'react-translate-component'
Avatar = require '../partials/avatar'
TriggeredModalForm = require 'modal-form/triggered'

UP = 38
DOWN = 40


module.exports = React.createClass
  displayName: 'AccountBar'
  mixins: [Router.Navigation, Router.State]

  propTypes:
    user: React.PropTypes.object.isRequired
