Adding flash error messages
Adding flash error messages