creating index for site homepage