fix DB and add registerServlet