Add logger.
Use logger, try to fix some session loss problems.
Merge branch 'master' of github.com:s1na/talkie