started get sessionfunctionality