Chat Logging

Chat Logging added and tested successfully.