adding index property and adding login file