cleaning up the oauth bits