added style and format to index page