Added client-side form verification