Add basic login form
Add support for defining login template