adding and listing newsgroups from database