Support for custom user model added.