public boolean validateUniqueNickname(String nickname){
		boolean isUniqueNickname = false;
		try {
			Socket loginSocket = new Socket(SERVER_ADDRESS_LOGIN, LOGIN_PORT);
			
			loginSocket.setSoTimeout(TIMEOUT);
			
			OutputStream outputStream = loginSocket.getOutputStream();
			ObjectOutputStream objectOutputStream = new ObjectOutputStream(outputStream);
			objectOutputStream.writeObject("CHECK_UNIQUE_NICKNAME");
			objectOutputStream.writeObject(nickname);
			objectOutputStream.flush();

			InputStream inputStream = loginSocket.getInputStream();
			ObjectInputStream objectInputStream = new ObjectInputStream(inputStream);
			isUniqueNickname = objectInputStream.readBoolean();
			
			
			loginSocket.close();
		}catch (SocketException e){
			new ErrorFrame("Login Server unreachable!");
		} catch (SocketTimeoutException e){
			new ErrorFrame("Connection timed out");
		} catch (Exception e) {
			new ErrorFrame("An unknown Error occoured");
		}
		return isUniqueNickname;
	}