more server side and client side logging