Flash errors when appropriate
Merge pull request #4 from prakashpp/master

Flash errors when appropriate