write oauth token to a file
actually get the token from the code