public static void authenticateUser (String username, String pass, String clientToken) {
		
		String hostAdress = "null";
		Proxy proxy;
		try {
			hostAdress = InetAddress.getLocalHost().getHostAddress();
		} catch (UnknownHostException e1) {
			Main.errorLog(e1);
			e1.printStackTrace();
		}
		
		String payload;
		String answer = "nope";
		
		if (!clientToken.isEmpty()) {
			payload = "\"{\"agent\":{\"name\":\"Minecraft\",\"version\": 1},\"username\":\""+username+"\",\"password\":\""+pass+"\",\"clientToken\":\""+clientToken+"\"}\"";
		} else {
			payload = "\"{\"agent\":{\"name\":\"Minecraft\",\"version\": 1},\"username\":\""+username+"\",\"password\":\""+pass+"\"}\"";
		}
		
		if (hostAdress != "null") { 
			
			proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(hostAdress, 443)); 
		
			if (proxy != null) {
				try {
					answer = Utils.performPost(ROUTE_AUTHENTICATE, payload, proxy, "application/json", true);
				} catch (IOException e) {
					Main.errorLog(e);
					e.printStackTrace();
				} 
			}
		}
		
		Main.log(answer);
		
		
	}