tester for callingPage

needed to check output of basename($_SERVER['PHP_SELF'])
fixing checks for admin pages
header, removing session_start