Fixed access to non-existing element
Merge pull request #63 from oliversalzburg/fix-userid

Fixed access to non-existing element, see issue #62.