canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | boolean {
return this.auth.getUser().subscribe( u => {
this.person = u;
if (this.person.err == 0 ) {
return true;
} else {
return false;
}
});
}