Added login form to template