Created logic for get unique userId, needs logic when service returns error