diff --git a/src/app/authentication.service.ts b/src/app/authentication.service.ts
index 46db9f0d3955f26bb45b30d5179383ce6c004dd2..9622ce1ded0c04936b8df0172071520bfe3923de 100644
--- a/src/app/authentication.service.ts
+++ b/src/app/authentication.service.ts
@@ -77,7 +77,7 @@ export class AuthenticationService {
     return this.user;
   }
 
-  setUser(user: User): void {
+  private setUser(user: User): void {
     this.user = user;
     this.dataStoreService.set(this.STORAGE_KEY, JSON.stringify(this.user));
   }