Fixed typo in global.inc file

Had 'loggin_in' instead of 'logged_in' and $SESSION instead of
$_SESSION in one spot