--- /dev/null
+<?php if($Doomguy->isSignedIn() === true) { ?>
+<h3>Logout</h3>
+<form method="get" action="index.php">
+ <input type="hidden" name="p" value="auth" />
+ <input type="hidden" name="m" value="logout" />
+ <input type="submit" value="Logout" />
+</form>
+<?php } else { ?>
+<h3>Login</h3>
+<form method="post">
+ <div class="field-row">
+ <label for="username">Username</label>
+ <input id="username" type="text" autocomplete="off" name="fdata[login]">
+ </div>
+ <div class="field-row">
+ <label for="password">Password</label>
+ <input id="password" type="password" autocomplete="off" name="fdata[password]">
+ </div>
+ <div class="field-row">
+ <input type="submit" value="Login" name="submitForm" />
+ </div>
+</form>
+<?php } ?>