change judgement for user onlydb to view all db