HandlerServlet.java, LoginManager.java updated