fixed routes and home index syntax errors