fixing login path on views
adding login template