Create index controller