I have a user service that returns an email address of the logged in user from `localStorage`. I need to create a function that will pass that email address like an observable data and listen for changes in the `app.component` in order to show that email address for the logged in user in the top menu which is in the `app.component.html`

I have such function for returning a regular data from `localhost`:

```
getUser(){    
   this.userEmail = JSON.parse(localStorage.getItem("user")).name;
}

```