Add flashed messages to the homepage.