Initial commit
login: Rework templates

Split the login form from the main views file.
login: More work on templates
models: Refine and test the model