Implement item currency and sql logging