try to load plugins before session is started