add OAuth Support and also enable curl output