Updated sharedService to inject toastr library