added custom routes to make nice URLs
modified to use the custom routes