by Howard Miller.
Moodle version? What did you do to allow them into the courses?
You should probably read some of this - Enrolment_plugins - and get familiar with how enrolment works in Moodle. You have quite fine control over who can access what with different plugins.