update to make better use of iron-router