bugfix for #5 from sweetsyk00. PHP function session_is_registered has been depreciated and removed as of PHP 5.4.0. Fix is to use isset(['foo']) instead.