Index update and Login