settings form working. Need to fix some deprecated apis in the form