begin session management