added HTML view for messages