Fix bug: controllers could not access any more to session variables

Close #166