expireDate saving and Logout