add session and route support