Fix a missing global declaration for $SESSION