# Login as First Page

This section explains how to set the Login page as the default starting page, skipping the landing page, for cases where it is not needed.

1. Update route at: **src/app/app-routing.module.ts**

{% code title="src/app/app-routing.module.ts" %}

```typescript
// Angular Imports
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

// project import
import { AdminLayout } from './theme/layout/admin-layout/admin-layout.component';
import { GuestLayouts } from './theme/layout/guest-layout/guest-layout.component';
import { AuthGuardChild } from './theme/shared/components/_helpers/auth.guard';
import { SimpleLayouts } from './theme/layout/simple-layout/simple-layout.component';
import { Role } from './theme/shared/components/_helpers/role';

const routes: Routes = [
  {
    path: '',
    component: GuestLayouts,
    children: [
      {
        path: '',
        redirectTo: '/login',
        pathMatch: 'full'
      },
      // {
      //   path: '',
      //   loadComponent: () => import('./demo/pages/landing/landing.component').then((c) => c.LandingComponent)
      // },
      {
        path: 'login',
        loadComponent: () => import('./demo/pages/authentication/auth-login/auth-login.component').then((c) => c.AuthLoginComponent)
      },
      ...
      ...
  },
  ...
]

```

{% endcode %}
