updating logic for host navigate and template changes from master
removing app unused