Made it so the website doesnt crash when an unsigned in user browses a course