All i have on the page now (besides the construct2 portion) is:
Hey, <?php echo $_SESSION['user_name']; ?>. You are logged in.
Not sure how to add javascript to the page but something like..
<script>
var currentuser = $_SESSION['user_name'];
</script>
Would that work? Or am i totally off?
Never done any javascripting..