Added getAccessToken(). Closes #2