made the index use the session username