added sessionhandler to framewrok