public static void displayQueryHostnames(ResponseMessage rm) {
		ArrayList<DirRecord> allDirRecords;
		allDirRecords = rm.getAllDirRecords();

		for (int x = 0; x < allDirRecords.size(); x++) {
			DirRecord currentRecord = allDirRecords.get(x);
			String currentNameInRecord = currentRecord.userNickName;
			if (currentRecord.getServerStatus() == false) {
				System.out.print("User: " + currentNameInRecord);
				String chatroomHost="";
				if (currentRecord.getChatroomOwnerName()!=null)
				{
					 chatroomHost = currentRecord.getChatroomOwnerName();
					 System.out.print(" in Chatoom hosted by: " + chatroomHost);
				}
				System.out.println();
				
				
			} else {
				System.out.println("Server: " + currentNameInRecord + " Popularity: " +currentRecord.getPopularity() );
			}
		}
		
		
	}