Fixed sign-out issue