changes to forms partial and a few changes to the pins controller