Login controller, view, form model and configuration.

Cleaned up the models a bit.