Adding changes to logging
Fixing chat issues