Adding the FlashMessageComponent.php