rever the change in memberRegistration.js to avoid bug.