pulling courseId for clicked course