adding style to index page of messages