fixed bug where first time page loads, gave warning for undefined session variable