diff --git a/src/postorius/views/domain.py b/src/postorius/views/domain.py
index dc57986..b991fe2 100644
--- a/src/postorius/views/domain.py
+++ b/src/postorius/views/domain.py
@@ -27,7 +27,7 @@
 except ImportError:
     from urllib.error import HTTPError
 from postorius import utils
-from postorius.models import Domain
+from postorius.models import Domain, MailmanApiError
 from postorius.forms import DomainNew
 
 
diff --git a/src/postorius/views/list.py b/src/postorius/views/list.py
index 573e07e..989c6b1 100644
--- a/src/postorius/views/list.py
+++ b/src/postorius/views/list.py
@@ -41,10 +41,10 @@
         ListNew, MemberForm, ListSubscribe, MultipleChoiceForm,
         ListSubscriptionPolicyForm, ArchiveSettingsForm,
         MessageAcceptanceForm, DigestSettingsForm, AlterMessagesForm,
-        ListAutomaticResponsesForm, ListIdentityForm,
+        ListAutomaticResponsesForm, ListIdentityForm, UserPreferences,
         ListMassSubscription, ListMassRemoval, ListAddBanForm,
         ListHeaderMatchForm, ListHeaderMatchFormset, MemberModeration)
-from postorius.models import Domain, List, MailmanApiError
+from postorius.models import Domain, List, MailmanApiError, Mailman404Error
 from postorius.auth.decorators import (list_owner_required,
                                        list_moderator_required)
 from postorius.views.generic import MailingListView
diff --git a/src/postorius/views/user.py b/src/postorius/views/user.py
index 82e97e1..1ec85d5 100644
--- a/src/postorius/views/user.py
+++ b/src/postorius/views/user.py
@@ -26,6 +26,8 @@
 from django.utils.decorators import method_decorator
 from django.utils.translation import gettext as _
 from django.http import Http404
+from django.core.urlresolvers import reverse
+from django.conf import settings
 
 try:
     from urllib2 import HTTPError
@@ -34,8 +36,10 @@
 
 from postorius import utils
 from postorius.models import (MailmanConnectionError, MailmanApiError, List,
-                              AddressConfirmationProfile, MailmanUser)
-from postorius.forms import UserPreferences, AddressActivationForm
+                              AddressConfirmationProfile, MailmanUser,
+                              Mailman404Error)
+from postorius.forms import (UserPreferences, AddressActivationForm,
+                             ChangeSubscriptionForm)
 from postorius.views.generic import MailmanUserView
 from smtplib import SMTPException
 from socket import error as socket_error