 
   @get '/auth/:provider/return': ->
     passport.authenticate @params.provider, { successRedirect: '/', failureRedirect: '/login' }
-  @get '/': -> 'Hello, World!'

  @get '/': ->
    @render 'landing': {passport: @session.passport}

  # Authenication
  @app.get '/auth/google', passport.authenticate 'google'
  @app.get '/auth/google/return', passport.authenticate 'google', { successRedirect: '/', failureRedirect: '/login' }

port = process.env.VMC_APP_PORT || 3000
host = process.env.APP_HOST || "localhost"

require('zappajs') host, port, ->
  manifest = require './package.json'
