LoginStatusServlet.java old version