Calling hub from controller - refactoring - update 3 - adding toastr package