added logging to client