getting oauth working