Changed gateway to user PRIMARY_ID instead of SSNUMBER