finished class Session
fix compilation error
fix compilation errors