Figured out CSRF and added some templates.