Fixing custom user model - library shouldn't have any reference to `core.user`