adding devices controller