improvements to the success messaging and moving it to use the flash