add missing template and migrations files