added homepage and index pages