   loginTpl.team = team
 
   robot.brain.on 'loaded', ->
-    robot.brain.data.ingressAgents ?= []
+    robot.brain.data.slackApplicants ?= []
 
   app.engine 'html', cons.hogan
   app.set 'view engine', 'html'

            value: user.emails[0].value
            short: true},
            {title: 'Agent Name'
            value: user.agentName
            short: true},
            {title: 'Community'
            value: user.community or '<none>'


      res.render 'thanks', viewData

      user.username = req.body.username.slice 0, 32
      user.community = req.body.community.slice 0, 140
      user.comments = req.body.comments.slice 0, 140

      robot.brain.data.slackApplicants = robot.brain.data.slackApplicants.filter (agent) ->
        agent.emails[0].value != user.emails[0].value
      robot.brain.data.slackApplicants.push user
      robot.brain.save()

      payload =
