Refactored login and logout log messages and LoginListners