configure login view.