         print(">>> finish loading")
         
         
-        isOnManagePage = webView.url!.absoluteString.hasPrefix(Constants.greenGoblinURLprefix) && webView.url!.absoluteString.hasSuffix(Constants.greenGoblinURLsuffix)
+        let isURLPrefixManagePagePrefix = webView.url!.absoluteString.hasPrefix(Constants.greenGoblinURLprefix)
+        let isURLSuffixManagePagePrefix = webView.url!.absoluteString.hasSuffix(Constants.greenGoblinURLsuffix)
+        isOnManagePage = isURLPrefixManagePagePrefix && isURLSuffixManagePagePrefix
         
         // FIXME: Parse HTML by tags
         /**

    
    func pushStudentToQueue(name: String, time:String, seat: String) {
        print(">>> pushStudentToQueue()")
        students.append(Student(name: name, time: time, seat: seat))
        vibratePhone()
    }
    
    // TODO: Check if you could use the same session with WKWebView and Alamofire
}

struct Student {

    
    func isNotStudentInQueue(name: String, time: String) -> Bool {
        let studentsWithSameName = students.filter { $0.name == name }
        guard let _ = studentsWithSameName.first else {
            return true  // Because we don't want to add it to the queue
        }
        return studentsWithSameName.filter { existing in
