resolve password authotication and index.jsp forward function.