use flash to show status messages