make sure session can handle two apis