anchor.diff:        top_level_component = React.renderComponent Root(
                                            long_id : long_id
                                            ), document.getElementById('content')
  -
  -      
  -
  -
     results : (long_id) -> @proposal long_id, 'results'
   
   window.app_router = new Router()
  
positive.code: 
    render: ->
      current_user = @data('/current_user')
      console.log 'Rendering userbar with', current_user.user
      if current_user.user
        console.log 'going deeper'
        R.div className: 'userbar', 
          Avatar key: current_user.user, tag: R.span, className: 'userbar_avatar', style: {height: 20, width: 20}
          R.a 'data-action': 'logout', onClick: @logout, 'logout'
  
negative.code:               R.div className: 'switch_auth_mode', 
                  R.span null, if root.auth_mode == 'register' then 'If you already have an account, ' else 'If you don\'t have an account, '
                  R.a className: 'toggle_auth', onClick: @toggleAuthMode, if root.auth_mode == 'register' then 'Log In' else 'Create an Account'
  
  
  Auth = ReactiveComponent
  