added some functionalities: -limiting the session path to current folder, -some useful global variables, -can_set_cookies cookie on browser (for future devs) -last tok (for enabling session on page refreshes), -$nthReq global var to limit allowed requests on current session (if nessesary), -some improvments