User entity fix
Add login block in twig template and add checking privileges in templates