Secure user authentication
Removed login url

Since the index view calls the login view in case its called with POST,
the login url was kind of redundant
More space for error messages
AJAX calls for login
Removed test database settings. Make your own.

                                ___aaaa%<wa,_
                         _awad#UXT?"""?^""~"9Ga,.
                     .saZ?!'        .          ??6as.
      .    .    . _w2?"`                           "4w.   .    .    .
    .         ._wd!-                               . "5c
             amT'                     __^^             )h,.        .
          ._JE^    .___     .____aa ~"                   ?5c  .
    .     :mY     --  -!!"!""""""-           .             ]w,    .
         .dY                . .         .        .          "$,
        _mmG(              _a>+"^"^'        .        .  .    -4L
    .  <@m2u{_aa,.       >"~                                   "q .    .
     _ykdBE -    -     +'    _        .    .        .           "Q.
    .QeL2"%(Ys.    .     .. .. .                 .               -h.
   .jmp'      -           .         .     .    =,         .  .    ]L
   _m#f  .      .      .                        (   .;  .          $/
   jhZ             _(                    .     =f  <;.           . )m.
  jZm( .          ./ . .   .      .    .       =k J(                4[
 <WD"`=;   .   --+2`.-         .               j[]z            .    :#
 ]hC j(           C.                  .       .d[ \,        .        3c
.m#>=m            ];      .                  _d$`  !/     .          ]$,
=@m3.da.      .   ][          .     . . ___awWT'    -=               :#[
]cDC`{Vmwa+:___.  )(       .__<ssaawwpmmQQT!"        -:          .    W[
]kE  -]oWk  __,-a_jL___=aagQQQQW#B$W??{24f   .           .            W[
]WmL  -5mv, (n:_Wo3`  .-XWW#mWWm##^` . -sE                    .       m>
=W#saz-)Za!,<%syW$"";  .mWWmmWWX?  }i~, ];     __  .   .            .:@
.W12m[ +hdGwsammW( \   jW&)SvmE.   <!_; /( _,d7""5           .    .  j[
 Qe(#(  -+cv11$Wm[  ~ ]Sd"`))@6/=   -- =\=J$f` . ]                   d(
 4z1UWwa   -")*$WL      ___. ]9#o<|=|=>idde`      [       .         .@
 -$s13WBm,    ]dWE( -`  "^?Uuw_"{??ssssaE^       .>    .         .  jf
  )mm]mWBWc  _wWm(;    jo  ZWZ$Wa,               .;           .    =Q
   32;VUWWW/.mE"{g>   _p`_/C===;-?a,                               df
   )ma(nWpWWd@'__3G  .ymp?!""--?k. ?,.                      .     ]W`
    ]g(14$#WW1]("4z  j(   _,   ."h/ 3,.    _a%}"~         .      <#^
     ]m{)de$Wo]c )msw#  .  )h.    $  ).  amm!`                  s#(
      )m,k{d$k/6, -?Xv,     :;    3; :> )Xa          .  .      jm'
       ]$z]1X$c-$   -C>      .    -k  ~ "I`                   <W'
        -9mu{UE )q. .-<       ;  . 3,   ]r                  .<W'
    .     -4gvW, "G,  =;.   . ]/   -;   _'          .      .jW'
            -4JAa.-4  )k.      4a,  i   )`               ._m!3;
              "4ma -; )Z;      -?#a,     `     .   .    _wP` ]L    .   .
    .           ?5w,; jk         =~5aa                swF    =k
         .        "!wpC+                      .    aaY!       $
                     -?1w_,     .           .  _aaT"          4;      .
    .   .    .          -"??5aa,,,=.. .  ___aa2?^             ]c  .
                               """!?Y?T?T??!~                 )(

(I really should have slept -.I really should have slept -.--)