removed blocking from the future used to wait for the results of login