diff --git a/src/frontend/app/app-routing.module.ts b/src/frontend/app/app-routing.module.ts
index 80e2512c44f80dd8f31026ad62dc94fde0d83f25..a0d9fd74e6b45aaaf62847ef32aabbef06afa898 100755
--- a/src/frontend/app/app-routing.module.ts
+++ b/src/frontend/app/app-routing.module.ts
@@ -16,7 +16,7 @@ import { IndexationComponent }              from './indexation/indexation.compon
 import { ForgotPasswordComponent }          from './login/forgotPassword/forgotPassword.component';
 import { UpdatePasswordComponent }          from './login/updatePassword/updatePassword.component';
 import { ProcessComponent }                 from './process/process.component';
-import {FollowedDocumentListComponent}      from "./home/followed-list/followed-document-list.component";
+import { FollowedDocumentListComponent }    from "./home/followed-list/followed-document-list.component";
 
 @NgModule({
     imports: [
diff --git a/src/frontend/app/app.component.ts b/src/frontend/app/app.component.ts
index 89a02731045941edf77d98023f43c13248fef690..b44b09547ea4523def636eccc83b763d71420738 100755
--- a/src/frontend/app/app.component.ts
+++ b/src/frontend/app/app.component.ts
@@ -69,6 +69,9 @@ export class AppComponent {
     }
 
     ngOnInit(): void {
+
+        this.headerService.hideSideBar = true;
+        
         setTimeout(() => {
             this.headerService.sideNavLeft = this.snavLeft;
         }, 0);
diff --git a/src/frontend/app/login/forgotPassword/forgotPassword.component.ts b/src/frontend/app/login/forgotPassword/forgotPassword.component.ts
index aadd98d2fad961e040f18f88d60e5988a0b038e7..efb5c19076febe400d58c94d740ae9041d3ee6a1 100644
--- a/src/frontend/app/login/forgotPassword/forgotPassword.component.ts
+++ b/src/frontend/app/login/forgotPassword/forgotPassword.component.ts
@@ -5,8 +5,9 @@ import { HttpClient } from '@angular/common/http';
 import { NotificationService } from '../../notification.service';
 import { finalize } from 'rxjs/operators';
 import { LANG } from '../../translate.component';
+import { HeaderService } from '../../../service/header.service';
 
-declare function $j(selector: any) : any;
+declare function $j(selector: any): any;
 
 @Component({
     templateUrl: 'forgotPassword.component.html',
@@ -22,15 +23,18 @@ export class ForgotPasswordComponent implements OnInit {
     };
     labelButton: string = this.lang.send;
 
-    constructor(public http: HttpClient, iconReg: MatIconRegistry, sanitizer: DomSanitizer, public notificationService: NotificationService) {
+    constructor(
+        public http: HttpClient,
+        iconReg: MatIconRegistry,
+        sanitizer: DomSanitizer,
+        public notificationService: NotificationService,
+        private headerService: HeaderService
+    ) {
         iconReg.addSvgIcon('maarchLogo', sanitizer.bypassSecurityTrustResourceUrl('static.php?filename=logo_white.svg'));
-        $j('#bodyloginCustom').remove();
-        $j('main-header').remove();
     }
 
-    ngOnInit(): void { 
-        $j('#bodyloginCustom').remove();
-        $j('main-header').remove();
+    ngOnInit(): void {
+        this.headerService.hideSideBar = true;
     }
 
     generateLink() {