fix and additions

+ fix database dialog size
+ add unread messages for community chat