add fail variant for registration