use base64 to decode url