Copy form controller from macondo example