assign user before use

sorry, jumped too short on my last commit: the user array has to be initialized before first use ...
Merge pull request #211 from h1618/patch-1

assign user before use