user id device id map, filter records by userid