Username: <input type="text" [(ngModel)]="user.username">
<br/>
Password: <input type="password" [(ngModel)]="user.password">
<br/>
Firstname: <input type="text" [(ngModel)]="user.firstname">
<br/>
Lastname: <input type="text" [(ngModel)]="user.lastname">
<br/>
<button (click)="register()">Register</button>
{{message}}
<hr/>
<a routerLink="/">Back</a>
