fixing up oauth and restructuring classes it all works now