Added ability to push chats to database