removed session creation from main config