Add/delete users when they open/close tabs using socket