fix curr_user_course when there is no user logged in.