templatized header and started adding defaults to some views