add logging and remove slash at the end of urls
remove slash into urls