restrict the ability to view courses to registered users only