add login view and controllers