app fetches all courses on startup