the route now gets the tableName from the URL