merged sessionmanagement and statparsing