added needed api function to search for courses by name