 Translate = require 'react-translate-component'
 {Link} = require 'react-router'
 ZooniverseLogoType = require './zooniverse-logotype'
+auth = require '../api/auth'
+apiClient = require '../api/client'
 
 counterpart.registerTranslations 'en',
   footer:
+    adminMode: 'Admin mode'
     discover:
       title: 'Projects'
       projectList: 'Projects'

        </div>
      </div>
    </footer>

          <Link to="home" className="main-logo-link">
            <ZooniverseLogoType />
          </Link>
          <br />
          {if @state.user?.admin or @state.user?.id is '3' # brian-testing
            <label>
              <input type="checkbox" checked={apiClient.params.admin} onChange={@toggleAdminMode} />{' '}
              <Translate content="footer.adminMode" />
            </label>}
        </div>
        <nav className="site-map">
          <div className="site-map-section">
