public User[] loadUsers(ChatChannel channel){
		User[] users = null;
		try {
			Socket socket = new Socket(SERVER_ADDRESS_CHAT, CHAT_PORT);
			
			socket.setSoTimeout(TIMEOUT);
			
			OutputStream outputStream = socket.getOutputStream();
			ObjectOutputStream objectOutputStream = new ObjectOutputStream(
					outputStream);
			objectOutputStream.writeObject("LOAD_USERS");
			objectOutputStream.writeObject(channel);
			objectOutputStream.flush();
			
			InputStream inputStream = socket.getInputStream();
			ObjectInputStream objectInputStream = new ObjectInputStream(inputStream);
			
			users = (User[])objectInputStream.readObject();
			
			
			socket.close();
			
		}catch (SocketException e){
			new ErrorFrame("Server unreachable!");
		} catch (SocketTimeoutException e){
			new ErrorFrame("Connection timed out");
		} catch (Exception e) {
			new ErrorFrame("An unknown Error occoured");
		}
		return users;
	}