added messages table