add LoginServlet and improve example servlets.