loginservlet efficiency