get_providers code has been changed into models/provider.rb