making it work with AUTH_USER_MODEL config