Fix missing login logic in templates
Merge pull request #20 from dodobas/master

Fix missing login logic in templates