add prototype of messages page