Add error flash and title to application layout