added config to session