Updated connect.rb for oauth