Added cancelLogin