Implement login view.