Added base64 encoding in add offer