Update oauth.rb: Delete unnecessary codes