changing flash message upon user submission