adding getCategory() to ThreadViewerServlet