be sure to only call token url once
Remove lots of debug printouts