Improve flash messages on home page