Custom User model support.

see #393