made main page the index