Changed flow and removed auto session_start - must set pdo and table_name in MySql session