added 'countries' gem and renamed 'res' parameter in User.rb to 'results'