added comments in AddServlet and SearchServlet