Add login view and methodology, and fix some sloppiness.