add logout in lottery game