added route and template for source
added route and template for election