fix login unconnected