Refactor access token check
Merge pull request #4 from jdennes/refactor-access-token-check

Refactor access token check