Add plugins to check session lifetime