prevent duplicate names in a room