Fixed validation query for userDB
it was Select * from tables... :)