Setup the server so it saves each message to the database