added a fix so inappropriate threads are not shown to non-logged in users