     }

            try {
                const response = await fetch('/edit_user_currency', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({
                        email: email,
                        amount: amount
                    })
                });

                const data = await response.json();
                if (data.status === 'success') {
  