updated template links to include root_url