validator + db join