modified the gem to use oauth2