Use correct indentation
Correctly declare routes and index function
Add clarifying parens to function call