added logging to log the url of the requests