persistent authentication and logout for default users