added session var in index.jsp

just check userName  to be good