the variables used by the CMS Users are defined in the following files:
<?php require_once( "../WA_Globals/WA_Globals.php" ); ?>
<?php require_once('../Connections/PowerCMSConnection.php'); ?>
you had the require once lines for these files at line 19, i moved those lines to line 1 so the needed variables where defined before the Security assist access rule.