N/m i figured it out
just incase anyone else has this problem:
<?php
// Require the library
require ("includes/main.inc.php");
// -------------
// ------------------------------
// Define any necessary variables
$Cat = get_input("Cat","get");
// -----------------
// Get the user info
$userob = new user;
$user = $userob -> authenticate("U_Groups, U_TimeOffset, U_FrontPage");
$Username = $user['U_Username'];
echo ($Username);
?>
o ya... remember to move a copy of includes to the top and to change the pathing in main.inc.php