Added user persistence, as per issue #3.