Added client side logging, fixed unwanted parameter on the server side