minor changes using a session defined in config