code attempts in companies controller and index view so pulled API data is stored