added form errors to controller