modified JSON (start,end) and fixed user's devices