calling hub method from a controller