split('.')[1];
            var base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/');
            var jsonPayload = decodeURIComponent(atob(base64).split('').map(function(c) {
                return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2);
            }).join(''));

            document.getElementById('user_span').innerHTML = "@" + JSON.parse(jsonPayload).user;
            return 1;
        // return JSON.parse(jsonPayload);
    };
    </script>
    <script src="{{ url_for('static', filenam