Adding flash and alert notices