name 'val' is not defined in user view line 85 how solve? and could add second factor protection by file as passkey