Get rid of useless type attribute.
Login/logout and connected/disconnected status.