add session callbacks