Layout alert and notice messages showing in home page