Fix usage of custom user model reference

The app is broken when using a custom user model.
Please reference the user model as mentioned on https://docs.djangoproject.com/en/dev/topics/auth/customizing/

Please release a bugfix version on pypi after merging the pull request. Thanks!