<div class="wrapper">
  <h1 class="mat-display-2" xmlns="http://www.w3.org/1999/html">Grade book by Marcin Jaborski index no. 234680</h1>
  <div *ngIf="info.token != '{}'; else loggedOut">
    <h1 class="mat-display-1">Your Information</h1>
    <strong>Username:</strong> {{info.username}}<br/>
    <span *ngIf="isAdmin()">
    <strong>Logged as Teacher</strong>
  </span>
    <span *ngIf="!isAdmin()">
    <strong>Logged as Student</strong>
  </span>
  </div>

  <ng-template #loggedOut>
    <h1 class="mat-display-1">Please login in order to access students, grades and subjects.</h1>
  </ng-template>
</div>
