added base64 encoding/decoding for db stuff later