modified message map function in couchDB,and show some kind of message