     jobs.create('import members').save()
     res.send 200
 
+  app.get '/trigger/members/session/current', (req, res) ->
+    db.collection("sessions").findOne {current: true}, (err, currentSession) ->
+      jobs.create('import all members for session', session: currentSession).save()
+      res.send 200
+
   app.get '/trigger/members/session/:legislativeSession', (req, res) ->
     jobs.create('import all members for session', session: req.legislativeSession).save()
     res.send 200

    jobs.create('import committees').save()
    res.send 200

  app.get '/trigger/committees/:legislativeSession', (req, res) ->
    jobs.create('import committees for session', session: req.legislativeSession).save()
    res.send 200


    jobs.create('import legislation').save()
    res.send 200

  app.get '/trigger/legislation/session/current', (req, res) ->
    db.collection("sessions").findOne {current: true}, (err, currentSession) ->
      jobs.create('import legislation for session', session: currentSession).save()
      res.send 200

  app.get '/trigger/legislation/session/:legislativeSession', (req, res) ->
    jobs.create('import legislation for session', session: req.legislativeSession).save()
    res.send 200

  app.get '/trigger/legislationDetail/session/current', (req, res) ->
    db.collection("sessions").findOne {current: true}, (err, currentSession) ->
      jobs.create('import legislation detail for session', session: currentSession).save()
      res.send 200

  app.get '/trigger/legislationDetail/session/:legislativeSession', (req, res) ->
    jobs.create('import legislation detail for session', session: req.legislativeSession).save()
    res.send 200

