Added Flash Alerts And error messages on application