Finalized chat log implementation