login and logout event broadcast