Add some log messages and comments

- Also update .gitignore file
Merge branch 'master' of https://github.com/raynaldmo/my-chat-app