Events are now dispatched on login success, failure, and logout