Add alerts for flash messages in mail template
Alerts in main layout outputs through cycle
update AuthController.php