pass config as the third parameter to user flows