add separate base url for oauth requests.
move the afoauth thing out of pods for now so i can work it on git.
start adding json error parsing
error handling for invalid token