Fixed $_SESSION not being a superglobal anymore
Code cleanup