add base64 decode method
add query parse method