Only keep the session active if the user is logged on or if the Account application is loaded