Make 'get_url' function pubic
Verify access_token properly and grant access if valid