added callback to assign a name to a room.