second commit. Chat Implementation