def METHOD_NAME(self, request):
    try:
        serializer = RegisterBody(data=request.data)
        if serializer.is_valid(raise_exception=True):
            email = serializer.validated_data.get("email")
            orgname = serializer.validated_data.get("orgName")
            password = serializer.validated_data.get("password")
            try:
                UserProfile.objects.get(email=email)
            except ObjectDoesNotExist:
                pass
            except MultipleObjectsReturned:
                return Response(
                    err("Email Aleady exists!"), status=status.HTTP_409_CONFLICT
                )
            else:
                return Response(
                    err("Email Aleady exists!"), status=status.HTTP_409_CONFLICT
                )
            try:
                Organization.objects.get(name=orgname)
            except ObjectDoesNotExist:
                pass
            except MultipleObjectsReturned:
                return Response(
                    err("Orgnization already exists!"), status=status.HTTP_409_CONFLICT
                )
            else:
                return Response(
                    err("Orgnization already exists!"), status=status.HTTP_409_CONFLICT
                )
            CryptoConfig(orgname).METHOD_NAME(0, 0)
            CryptoGen(orgname).generate()
            organization = Organization(name=orgname)
            organization.save()
            user = UserProfile(
                username=email,
                email=email,
                role="admin",
                organization=organization,
            )
            user.set_password(password)
            user.save()
            response = RegisterResponse(
                data={"id": organization.id}
            )
            if response.is_valid(raise_exception=True):
                return Response(
                    data=ok(response.validated_data), status=status.HTTP_200_OK
                )
    except Exception as e:
        return Response(
            err(e.args), status=status.HTTP_400_BAD_REQUEST
        )