Changed the logic to retrieve member ID in the configuration