First, add:
<?php if (!session_id()) session_start(); ?>
at line one of the page.
next, the recordset is being filtered on the kt_login_id session variable.
try echoing that session variable to make sure it has a value:
<?php echo $_SESSION['kt_login_id']; ?>