Ajax call done on register.jsp