public boolean updateUserLocation(String userLogin, String cityName, String countryName) {
        try {
            Statement updateLocation = waggrConnection.createStatement();
            String stm = String.format("UPDATE users SET city_name = '%s', country_name = '%s' WHERE login = '%s';",cityName,countryName,userLogin);
            int i = updateLocation.executeUpdate(stm);
            if (i!=0){
                updateLocation.close();
                return true;
            }
            updateLocation.close();
            return true;
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return false;
    }