Fixes connection.rb
Adds the 3 basic endpoints