Improve comments and formatting
Remove striptags from login template