code to retrieve a teachers name so it can be emit to the parent controller and add it to the footer