Add flash error to index view