Auto-refresh public token
Simplify public token access in loadPoints.php