public AuthorisationModule(IAuthorisationService authorisationService)
        {
            this.authorisationService = authorisationService;

            Post["/{Key}/Authorisation"] = x =>
            {
                var command = new AuthorisationCredentialsCommand(new AccountContext(x.Key), IPAddress.Parse(Request.Form.IPAddress));
                var authorisation = authorisationService.CreateAuthorisationToken(command);
                return Response.AsJson(new
                {
                    authorisation.TokenKey
                });
            };
        }