No idea about the logging out. It may just be the Messenger network. I get that sometimes.
You could remove it *completely* & try MSN Messenger instead.
Removal instructions:
http://www.dougknox.com/xp/tips/xp_messenger_remove.htm
Lots of XP tips:
www.dougknox.com