Show error messages in flash
Add flash types