Fixing oauth class