fixed getAccessTokenFrom request
modified example so that it can be refreshed
revert past fix