add two methods one for disabling session gs and other to set session handler