Create course tab dynamically