updated index for auth