public static boolean addStation(ObjectOutputStream toServer, ObjectInputStream fromServer, Scanner scanner) throws IOException, ClassNotFoundException {
        log.debug("Start \"addStation\" method");
        List<String> listAllStation = PassengerHomePageHelper.listStations(toServer, fromServer);
        String stationName;
        do {
            System.out.println("Station name must be unique!");
            System.out.println("Input station name:");
            stationName = scanner.next().toLowerCase();
        } while (listAllStation.contains(stationName));

        AddStationRequestInfo req = new AddStationRequestInfo(stationName);
        log.debug("Send AddStationRequestInfo to server");
        toServer.writeObject(req);

        Object o = fromServer.readObject();
        if (o instanceof RespondInfo) {
            if (((RespondInfo) o).getStatus() == RespondInfo.SERVER_ERROR_STATUS) {
                System.out.println("Server error");
                log.debug("Server error");
                return false;
            } else if (o instanceof AddStationRespondInfo) {
                AddStationRespondInfo respond = (AddStationRespondInfo) o;
                log.debug("Received AddStationRespondInfo from server");

                if (respond.getStatus() == AddStationRespondInfo.OK_STATUS) {
                    System.out.println("Station added");
                    log.debug("Station added");
                    return true;
                } else {
                    System.out.println("Server error");
                    log.debug("Server error");
                    return false;
                }
            }
        }
        log.error("Unknown object type");
        return false;
    }