Make use of flash messages.