fix up the navbar and add a template I missed.