     var bellnumber: Int?
     var needtoregister = false
     private var registrationlock = DispatchGroup()
-    var introsequence = false
+    var introsequence = Date(timeIntervalSince1970: 0)
     var wasLogout = false
     
     let loginscript = "function get_login_details_tracsmobile() { " +

                let req = URLRequest(url: urlToLoad)
                self.webview.load(req)
            }
            self.introsequence = false
        }
    }
    

            wasLogout = false
            load()
            decisionHandler(.cancel)
        } else if introsequence.timeIntervalSinceNow > -5 {
            loadpart2()
            decisionHandler(.cancel)
        } else {
