Glad you found the problem. Just so you know, your issue may be with your version of JomSocial itself. For more information, see the
JomSocial Blog Post
discussing the auto-logout issue when using Joomla 3.3 and older versions of JomSocial.
As always, if you need anything from us, just let me know.
Thanks,
Alex