pass stack user/pwd for connection function