[eluser]Dam1an[/eluser]
There are 2 solutions
1) Check if they're logged in in the controller, if so, load the logged_in view, if not, load the login form view
2) Do the check in the view, but don't do it by calling the session directly
In some of my views, I call a helper (User::is_admin()) and if so, load the aditional admin view as well as the normal user view
The second option is more likely to get some controversy going, but its not dirty in the sense you don't access the session variables directly... Sometimes its best to do some logic like this in the view
Because yours is so simple, the first solution should be more then adequate