Implemented chat logging - closes #12