Hi there i had a issue declaring $user for templates
$this->template->user ='My name'
if you use this variable in yor templates, it will overwrite the template $user var that is an instance of \Nette\Security\User
so be careful beginners
Nicely mentioned, thanks