Fixed to use settings.AUTH_USER_MODEL instead of directly importing User model from auth django.contrib.auth to confirm with Django 1.5+