defined alert notice in application.html.erg