title: kohana view change according to user logged or not
body: <p>my question is trivial byt i am new and do not even know what to look for</p>
  
  <p>i am using kohana framework to build my site. I have already learned how to use auth module (more or less) and created login, logout "arhitecture".</p>
  
  <p>When my user is not logged i redirect to login page and when it is I use a view to show user data.  </p>
  
  <p>Now i am trying to do something like a page menu when i can see "login" button when user is not logged in, but "logout" button when logged. Do i make myself clear? I assume i cant redirect anywhere as this is a part of the same view. then how do I deterin a view content accordingly to a user state?</p>
  
  <p>I am not looking for a ready code (although that would me apreciated) but a direction on what to look for and what to read about.</p>