Field-level templating done, login integrated

The field level templates are all written, and login has been restyled using them.