replace users by devices