Added login form
diff --git a/templates/de/intro.html.ep b/templates/de/intro.html.ep
index 088a108..f4134a0 100644
--- a/templates/de/intro.html.ep
+++ b/templates/de/intro.html.ep
@@ -1,4 +1,7 @@
 % layout 'main';
+
+% stash(sidebar_active => 1);
+
 <div class="intro">
   <p><strong>KorAP</strong> ist eine neue Korpusanalyseplattform, optimiert für große, mehrfach annotierte Korpora und komplexe Suchmechanismen. Dabei versucht KorAP unabhängig von spezifischen Forschungsfragen zu sein.</p>
 
@@ -10,8 +13,6 @@
 
 </div>
 
-<!-- form -->
-
 <div id="logos">
   <div>
     <a href="http://www.ids-mannheim.de/" class="logo"><p id="ids-logo"><span>Entwickelt am Institut für Deutsche Sprache (IDS)</span></p></a>
diff --git a/templates/intro.html.ep b/templates/intro.html.ep
index 937bde3..ba9da37 100644
--- a/templates/intro.html.ep
+++ b/templates/intro.html.ep
@@ -1,4 +1,8 @@
 % layout 'main';
+
+% stash(sidebar_active => 1);
+
+
 <div class="intro">
   <p><strong>KorAP</strong> is a new Corpus Analysis Platform, suited for large, multiple annotated corpora and complex search queries independent of particular research questions.</p>
   <p>This is the new frontend for KorAP, <strong>Kalamar</strong>, with currently no access to restricted corpora. For full access, please visit the <a href="http://korap.ids-mannheim.de/app">first frontend</a>. <noscript>Kalamar expects activated JavaScript for some features.</noscript></p>
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index 7f6f811..af8feb4 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -23,6 +23,21 @@
       %= include 'partial/header'
     % }
 
+% if (1) { # user not logged in
+% content_for 'sidebar', begin
+<fieldset>
+  <form>
+    <legend><span><%= loc 'login' %></span></legend>
+    <input type="text" name="handle_or_email" placeholder="<%= loc 'email' %>" />
+    <div>
+      <input type="password" name="pwd" placeholder="<%= loc 'pwd' %>" />
+      <button type="submit"><span><%= loc 'go' %></span></button>
+    </div>
+  </form>
+</fieldset>
+% end
+% }
+
     % my $aside = content_for('sidebar');
     <aside tabindex="0" class="<% unless (length($aside) > 0) { %>off<% } elsif (stash('sidebar_active')) { %>active<% } %>">
       <div>