   # serve static assets
   app.use('/assets', express.static("#{__dirname}/#{ASSET_BUILD_PATH}"))
   
+  <% if (useAuth) { %>
   # needed for body parsing and session usage
   app.use express.cookieParser()
   app.use express.bodyParser()

# account routes
app.get '/account', accountController.index

module.exports = app


# controllers
publicController = require './server/controllers/public_controller'

<% if (useAuth) { %>
# some controllers for admin/auth
accountController = require './server/controllers/account_controller'
authController = require './server/controllers/auth_controller'

