candidatesServlet for searching and listing candidates