modified register.jsp and index.jsp