Updated register.lib to remove confirm password field.