initialized database for chatbox