         })
     }
     
+    /** Starts the local host for making the safari browser return to the application
+     */
     func startServer() {
         self.httpServer = RoutingHTTPServer()
         self.httpServer?.setPort(8089)

        response.respondWithString(txt)
    }
    
    func handleMobileconfigLoadRequest (request : RouteRequest ,response : RouteResponse ) {
        if firstTime  {
            print("handleMobileconfigLoadRequest, first time")

            //response.setHeader("Location", value: "yonaApp://")
            
            if #available(iOS 9, *) {
                response.setHeader("Location", value: "http://yona.nl/yonaapp/")
            } else {
                response.setHeader("Location", value: "yonaApp://yonaapp/")
            }
