mapped the login view and homepage view