Reworking routing, creating sessions