use userId instead of digging into a potentially undefined user hash
Merge pull request #9 from BeDifferential/userid-fix

use userId instead of digging into a potentially undefined user hash