Updated the function to fetch User table name