logging server side and client side work