Added routing to deal with friendly URLs.