Fixing before_login template.