Moved session login/logout into controller
Removed erroneous comment