Added persistence of session.