Added logging in the web-client