updated recent tracks controller to use injected repository