Moved the code that gets the user selected course to GET to fix the menu
not populated after clicked