Add click event to add courses and students