add lock to users/rooms/clients