add base64encode base64decode functions