fix force update
check if logout