updated index with login information