remove test code in session
offline session management