you have to be logged in to enrole/apply for course