admin find all devices logic added to db