fix:  System.NullReferenceException

We are getting error in asp.net.
Merge pull request #529 from nardin/master

fix:  System.NullReferenceException on Context.User