edit index redirect to signin