session management revision