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

  loginTpl.team = team

  robot.brain.on 'loaded', ->
    robot.brain.data.ingressAgents ?= []

  app.engine 'html', cons.hogan
  app.set 'view engine', 'html'


      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 =
