fix button, add chat messages logging