OPAL-1860 logout and rm session functions added