apply login state on login/logout