diff --git a/src/baruwa/templates/accounts/login.html b/src/baruwa/templates/accounts/login.html
index b2cc27b..e5296aa 100644
--- a/src/baruwa/templates/accounts/login.html
+++ b/src/baruwa/templates/accounts/login.html
@@ -1,6 +1,26 @@
-{% load i18n %}
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+ 
+ Baruwa - Web 2.0 MailScanner front-end.
+ Copyright (C) 2010-2011  Andrew Colin Kissa <andrew@topdog.za.net>
+ 
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ 
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ 
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+-->
+{% load i18n %}
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <title>{% trans "Baruwa ::" %}</title>
@@ -16,20 +36,19 @@ $(document).ready(function(){
     if(!$('#loginform :hidden[name="csrfmiddlewaretoken"]').length){
        location.href = '{% url please-login %}?next=/';
     }
-	if(!$('#resetform :hidden[name="csrfmiddlewaretoken"]').length){
-       location.href = '{% url reset-pwform %}';
-       alert('hooo');
+    if(!$('#resetform :hidden[name="csrfmiddlewaretoken"]').length){
+       location.href = '{% url please-login %}?next=/';
     }
     $('#resetlnk').bind('click', function(event){
-		event.preventDefault();
-		$('#login_part').hide();
-		$('#forgottenpw').show();
+        event.preventDefault();
+        $('#login_part').hide();
+        $('#forgottenpw').show();
+    });
+    $('#cancelrset').bind('click', function(event){
+        event.preventDefault();
+        $('#forgottenpw').hide();
+        $('#login_part').show();
     });
-	$('#cancelrset').bind('click', function(event){
-		event.preventDefault();
-		$('#forgottenpw').hide();
-		$('#login_part').show();
-	})
 });
 //]]>
 </script>
