I did some digging and found some information that I could put into the batch file.
net session \\127.0.0.1 >> mwarestart.log
ECHO --------------------- >> mwarestart.log
It worked on my PC, but when I tried it from another PC it didn't work. Reason is that i have a share setup on my system and was connected to it. Is there some other command other than 'net session' that I can use to get the user ID of who is running my batch file?