Changes in session handling