) {
                    if (xhr.status === 404) {
                        loginError.innerHTML = "Not Found: " + loginObject.checkUrl;
                    }
                    else if (xhr.status === 401 || xhr.status === 403) {
                        loginError.innerHTML = "Token is invalid or timed out ";
                    }
                    else {
                        loginError.innerHTML = "Internal ServerError: " + loginObject.checkUrl;
                    }
                    window.localSt