Fix a small error when not logged in