         @errors = errors
         @render 'teams/new.html.haml'
       else
-        @cookie 'teamauthkey', @team.authKey()
+        @cookie 'teamAuthKey', @team.authKey()
         @redirect '/teams/' + @team.id()
 
 # show team

          res: res
          next: next
          redirect: __bind(res.redirect, res),
          cookie: (key, value) ->
            res.header('Set-Cookie', "#{key}=#{value}")
          render: (file, opts) ->
            opts ||= {}
            opts.locals ||= {}

            res.render file, opts
          currentPerson: person
          setCurrentPerson: (person, options) ->
            @cookie 'authKey', person?.authKey(), options
          redirectToTeam: (person, alternatePath) ->
            Team.first { 'members._id': person._id }, (error, team) =>
              if team?
