message: check if updated user = loggedInUser
diff: @@ -152,7 +152,9 @@ export class UserEditComponent implements OnInit {
  async openAddPictureDialog() {
  const response = await this.dialogService.upload(this.user).toPromise();
  if (response && response.success && response.user) {
  + if (this.userService.isLoggedInUser(response.user)) {
  this.userService.setUser(response.user);
  + }
  this.snackBar.open('User image successfully uploaded.', '', {duration: 3000});
  }
  }
  