Show sub menus only in Users page
Go to DefaultTabTable
Use !empty() to avoid empty queries being executed
Reuse code from table specific privilege table for the db specific privilege table