public void run() {

		try {
			if (socket.isConnected()) {
				if (authenticate()) {
					sendMessage("Access Granted");
					access();
				} else {
					sendMessage("Access Denied");
				}
			}
		} catch (IOException e1) {
			System.out.println("User gave up at login...");

		}
	}