get token from token.php