Log in, Log out, Sign In another account

You could loop your macro.
If it might be too complicated for you, you can also get someone to do it for you: Hiring - Desktop Automation - #2 by Plankton