Added error messages
Merge pull request #35 from jjlee5266/flash

Added error messages