added example for form and message flashing