add redirect to index