diff --git a/django_ulogin/models.py b/django_ulogin/models.py
index <HASH>..<HASH> 100644
--- a/django_ulogin/models.py
+++ b/django_ulogin/models.py
@@ -76,8 +76,8 @@ def create_user(request, ulogin_response):
     Creates user
     """
     # Custom behaviour
-    if settings.CREATE_USER_CALLBACK is not None:
-        callback = import_by_path(settings.CREATE_USER_CALLBACK)
+    if s.CREATE_USER_CALLBACK is not None:
+        callback = import_by_path(s.CREATE_USER_CALLBACK)
         if callable(callback):
             return callback(request=request, ulogin_response=ulogin_response)
         raise ImproperlyConfigured("The ULOGIN_CREATE_USER_CALLBACK isn't a callable")
diff --git a/django_ulogin/settings.py b/django_ulogin/settings.py
index <HASH>..<HASH> 100644
--- a/django_ulogin/settings.py
+++ b/django_ulogin/settings.py
@@ -28,6 +28,7 @@ ALLOWED_PROVIDERS = (
     ('foursquare',      _('Foursquare')),
     ('googleplus',      _('Google+')),
     ('tumblr',          _('Tumblr')),
+    ('dudu',            _('Dudu')),
 )
Fix some attribute errors;
added Dudu provier.