add login view and model