to avoid logout not found