Add option to enable/disable heartbeat

It can be seen as a security issue to list all courses.
Enabled by default, but disableable.