Flash message is displayed on successful creation