fixed logout checks
fixed logic after logout delete online user