Added feature that keeps webpages from starting a new session
Removed unused booleans
Removed unnecessary line