add  handler when user disconnect and reconnect