core form controller