readystatechange = function () {
				if (xmlhttp.readyState == XMLHttpRequest.DONE) {
					var response = JSON.parse(xmlhttp.responseText)
					localStorage.setItem('access_token', response.access_token);
				}
			}
		}

		function getAdmin() {
			var xmlhttp = new XMLHttpRequest();   // new HttpRequest instance 
			var host = window.location.hostname;
			xmlhttp.open("GET", "http://" + host + ":5000/protected");
			xmlhttp.setRequestHeader("Content-Type", "application/json");
			xmlhttp.setReq