Fixed constructer of basic session manager