Added support for the option to clear the session on each load