new index and login