added topic index and show pages