adding header/footer to message view