i have this signup form that works fine and saves the user correctly when there are no errors but when there are errors in the inputs like two password fields didn\'t match