Updated FlashMessages.php