All i have on the page now (besides the construct2 portion) is:
Hey, <?php echo $_SESSION['user_name']; ?>. You are logged in.
var currentuser = $_SESSION['user_name'];
Would that work? Or am i totally off?