navigation logout fix