Added flash notices to alert the user to form submission status