Add login view
Minor cleanups