Two problems:
2) the failed redirect for the login is set to Log_In.php, this kills the postted information and redirects back to the login page.
"failRedirect" => "Log_In.php",
change that to be blank:
"failRedirect" => "",
2) You are using show If recordset is not empty, you should be using Show If recordset is empty. Sorry, I got that backwards in my initial reply.