Added show categories and show topics functions