edited reg.jsp