Why doesn't JWT seem to recognize my created users in django?

I'm setting up a project's back end using django rest framework, I override django's default User by inheriting AbstractBaseUser (I use phone_number as a unique id) and i also created my own UserManager when I use simple jwt package for authentication I get the error message "No active account found with the given credentials"

I did debugging and saw that the user creation view works seamlessly and the user is indeed added to the server but simple_jwt doesn't recognize it when i want to obtain token here is my user manager:

class UserManager(BaseUserManager):

    use_in_migrations = True

    def _create_user(self, phone_number, password, **extra_fields):
        if not phone_number:
            raise ValueError('The given phone must be set')
        user = self.model(
            phone_number=phone_number,
            **extra_fields,
        )
        user.set_password(password)
        user.save(using=self._db)
        return user

    def create_user(self, phone_number, password=None, **extra_fields):
        # extra_fields.setdefault('is_superuser', False)
        return self._create_user(phone_number, password, **extra_fields)

    def create_superuser(self, phone_number, password, **extra_fields):
        extra_fields.setdefault('is_superuser', True)

        if extra_fields.get('is_superuser') is not True:
            raise ValueError('Superuser must have is_superuser=True.')

        return self._create_user(phone_number, password, **extra_fields)

my UserSerializer:

class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.User
        fields = ('email', 'phone_number', 'first_name', 'last_name', 'date_joined', 'avatar')

    def create(self, validated_data):
        user = models.User.objects.create_user(**validated_data)
        return user

my registeration view:

class UserCreateView(APIView):
    def post(self, request):
        serializer = serializers.UserSerializer(data=request.data)
        if serializer.is_valid():
            user = serializer.save()
            return Response(status=status.HTTP_201_CREATED)
        return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)

settings.py :

REST_FRAMEWORK = {
    'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.AllowAny',),
    'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',)
}