fixes #331 - fallback to login page when not connected