def prompt_and_confirm_password(self, message):
        """
        Method to prompt for a password using the given message, then prompt for a confirmation
        password, and verify that they match.
        :param message:  the prompt message
        :return: the password
        """
        while True:
            pwd = self.input_password(message)
            cpwd = self.input_password("Confirm password")
            if pwd == cpwd:
                return pwd
            else:
                self.__screen.cprintln("Passwords do not match.")
Method to prompt for a password using the given message, then prompt for a confirmation
        password, and verify that they match.
        :param message:  the prompt message
        :return: the password