add login template and first logic (view etc.) and base template