Fixed "Cannot read property 'handler' of undefined" routing error and updated route definitions to use new iron-router syntax