Adding form.secret + replacing $this->get('form.factory') with $this->createForm()