Fixed chat issue not logged in, chat is closed default, fixed missing path obj (db)
Merge pull request #26 from soyuka/develop

Plugin fix + db fix