fix duplicate members

members will be properly removed from db on room switch, tab switch, and
on disconnect