validation dependent on $table

was fixed to unique:users