fixed NPE on retrieving user information from session
Merge pull request #2 from scrat83/master

fixed NPE on retrieving user information from session