add message when login/logout.