now I'm with a little problem with the logout...
the logout link points to /friend/logoff.do
but If I point it to that url, it doesn't do anything, it needs the session id, like:
/friend/logoff.do;jsessionid=ahbz3I-KpO0c
I could use a regexp to get the session id from the html, the problem is that sometimes the session id doesn't show on the logoff link...
So I guess I need to get the session id from the cookie and add it to the /friend/logoff.do right?