This needs to be rethought. initializeSession needs to be able to set the network. Or something comparable.