Adding console log for client side polling