try to use the db to store members and chats