handle login & logout message to refresh namelist