Fixed urlencode for userdata in url