Read list of courses during authentication, if available.

It turns out that what I did is move this chunk of code from one place to another. I restored it to its original location.