Adds success message to index