Added the automatic session loading