added flashed message html for search