Sorry to post three times in a row..
The logout does not work in the header without the webloginPE call. (it must have been something to do with the cache when it worked earlier)
So I need to have two instances of webloginPE on the page. Can anyone explaian Vhollos code a little better? I downaloded the three php files, replaced my existing webloginPE files with these three. Then added &id and &hide parameters to my webloginPE snippets and nothing changed.. do I need to do something else as well?
[UPDATE]
I found a tempory solution, I created a seperate header chunk minus the WebloginPE call and placed this on the register page, so the logout button on the register page wont work, but the user will not be logged in and on the register page

. Its not ideal but will do for now. If anyone could give me more info on how to implement the above code I would still appreciate it!
Another thing I noticed on the digram on this page for webloginPE:
http://wiki.modxcms.com/index.php/WebLoginPE_Examples it sayd the successpage should be in the private group, is this correct? As when I register I dont automatically get logged in so when it tries to redirect to the private page I just get shown my homepage! Is this an error in the example or should I be getting automatically logged in after registration?