add urlencoding and urldecoding