UserID not defined

userid is not yet defined here. Causes error.
Merge pull request #6 from cameroncf/patch-1

UserID not defined