Fixed 'cannot read property user of undefined'
Merge pull request #22 from mickmuzac/master

Fixed 'cannot read property user of undefined'