Fixed Segment Bug

The unclear naming of JS properties has been clarified to avoid confusion with
userId, userName, and name.

@dsjen @rocha
Nice testing!  My only comment is that `userDetails` be renamed in all caps, `USER_DETAILS`, to indicate it should be treated as a const.