adding login instead of index