Modified to use get_user_model from allauth.utils