add session handler implementation