changes to the OAuth class