url formatter
clean
url validator and refactor