adding route and template for rating