added some logging in the web part