formController setup
set up initial state