Support custom user model.
Merge pull request #9 from meshy/master

Support custom user model.