Improved login/logout handling by using custom spring logging event listener