logging GET and POST data. Adding query to get test url