Use connect-flash module to display errors messages.