Added login template and controller