Added automatic session loading