public boolean newUser(String login, String password, String name, String surname, String cityName, String countryName) {
        try {
            String stm = "INSERT INTO users(login, password, name, surname, city_name, country_name) VALUES(?, ?, ?, ?, ?, ?)";
            PreparedStatement tempPst = waggrConnection.prepareStatement(stm);
            tempPst.setString(1, login);
            tempPst.setString(2, password);
            tempPst.setString(3, name);
            tempPst.setString(4, surname);
            tempPst.setString(5, cityName);
            tempPst.setString(6, countryName);
            int i = tempPst.executeUpdate();
            if (i!=0) {
                tempPst.close();
                return true;
            }
            tempPst.close();
        } catch (SQLException e) {
            e.printStackTrace();

        }
        return false;
    }