Added pne_user_management_user_enrolled function to check if user is in course