Login / Unlock looping

Please post an actual copy of your macro: