Add automatic table creation to session system