Replaced all references to django.contrib.auth.models.User by reference to model returned by django.contrib.auth.get_user_model()