 
 	server.use restify.queryParser()
 	server.use restify.bodyParser mapParams:false
+	server.use restify.authorizationParser()
 
 	# Adds the 'always' middleware for each request
 	for k, middleware of env.middlewares.always

	#libs
	fs = require 'fs'
	restify = require 'restify'
	bodyParser = require "body-parser" 
	cookieParser = require "cookie-parser"
	session = require "express-session"
	https = require 'https'
	Path = require 'path'

	
	PLModule = require './presentationLayer'

	# Server config and launch

							env.debug '%s listening at %s for %s', server.name, server.url, env.config.host_url
							env.events.emit 'server', null
							callback null, server

						server.listen.apply server, listen_args
	}
