Fix a link to the top page.
Use for-in to remove duplicated code.
Use params in routing.
Add validator for params.
Use express-params.