update deserialize user function
Merge pull request #20 from lindsbot/moreAuthStuff

update deserialize user function