add session management features