Changing to base64 encode