Adding code example for flash message