Override api controller for courses#index and courses#show