Bases for the api and list and show for courses