title: MODx Revolution Login Addon: Cant Login or Logout with Login form or Logout Link
body: <p>I encountered a Problem with MODx Revolution today. I used the Add-On Login the first time. So excuse if this is some of a stupid Error.</p>
  
  <p>I've setup two contexts (Babel) and the latest version of the login plugin (and some other stuff). MODx version 2.2.6.</p>
  
  <p>So what I did is: Created a Resource Group and gave it Load, view and list rights to each context on Member 9999 and for the anonymous group just Load. This all seems to work.</p>
  
  <p>I can login into the manager with correct credentials and navigate to the protected site. As expected i can see the content that is protected. I logout and the login form apears. All correct till here.</p>
  
  <p>When i  navigate to the login form and try to login with incorrect credentials I also get a error message as expected.
  Now: When I try to login with correct credentials (the same I use for the manager login) it doesnt come up with any kind of error but it looks like I'm not logged in correctly.</p>
  
  <p>Symtoms:
  I can see the login count in the MySQL tables for this specific user. No logins were incorrect and the user is not blocked.
  When i login in the manager and navigate to the protected site, hit the logout button, I get redirected back to the set &amp;loginResourceId and do not get logged out. Still logged in.</p>
  
  <p>I checked the MODx Log and there was nothing pointing to this error. I can't check the apache log because I'm on a shared hosting. The error_log file doesnt show anything suspiscious aswell.</p>
  
  <p>My question: what have I done? I checked all the references to the login page from the logout link, checked all permissions and still no result.</p>
  
  <p>Maybe someone had the same issue or anything like that. After hours of google and try and error, I'm kinda stuck.</p>
  
  <p>EDIT</p>
  
  <p>[[!Login?
              &amp;loginTpl=<code>lgnLoginTpl</code>
              &amp;logoutTpl=<code>lgnLogoutTpl</code>
              &amp;errTpl=<code>lgnErrTpl</code>
              &amp;loginResourceId=<code>156</code>
              &amp;logoutResourceId=<code>4</code>
          ]]</p>
  
  <p>thanks already for your suggestions
  rootless</p>