hook up userconnected and userdisconnected