Changes in persister.js

LgoIn and LogOut work correct