Messages after submission depend on whether db changes were made