Update messages.php add footer