Add footer in templates
Create matprem controller