index with logout added