add session management