Add remove course function