 middleware	= require './middleware'
 
 # Variables
-cookieToken	= ''
-ssl			= {}
+ssl = {}
 
 # Init
 init = ->

				return callback() if not error?

				# Show error
				log.status 'init', 'Loading SSL, database or generating cookieToken failed', error
				return false

		(callback) ->

			# App configuration
			app.use morgan('dev') if process.env.npm_package_config_debug is 'true'
			app.use compress()
			app.use cookieParser(crypto.randomBytes(20).toString('hex'))
			app.use session({secret: crypto.randomBytes(20).toString('hex'), saveUninitialized: true, resave: true})
			app.use middleware.security
			app.use express.static(__dirname + '/..')

