Auto log in

Is there a way to make an account in AppleScript that will auto log in a few accounts for me? I want this app to run at start up. I can even set one account to log in automatically, then have the app run, log in all the other accounts, and then go back to the log in screen while still keeping the users logged in.